<%@ page contentType="text/html;charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic"%>
<html>
	<head>
<script type="text/javascript"> 
 var wrong ="${wrong}";	  	
if(wrong=="have")
 {
		       alert("<bean:message key="admin.error.have" />");
   		  	   document.location.href="admin_customer.jsp";
  }	   
 else if(wrong=="nothave")
 {
		       alert("该帐号不存在，请重新输入！");
   		  	   document.location.href="admin_cancel.jsp";
  }	   
</script>
		<link href="../css/css.css" type="text/css" rel="stylesheet">

		<title>ATM-操作失败</title>
	</head>

	<body>
	<script type="text/javascript"> 	
		var adminName = <%=session.getAttribute("adminName")%>;
   		  	if(adminName==null) {
   		  	   alert("<bean:message key="admin.error.notlogin" />");
   		  	   document.location.href="admin.jsp";
		}
		else if(adminName=="0"){
		       alert("<bean:message key="admin.error.login" />");
   		  	   document.location.href="admin.jsp";
		}
</script>
		<div id="container">
			<div id="banner">
		<img src="../images/banner.jpg" border="0">
	</div>
	<div id="leftbar">
		<div id="left1">
  			<div class="tab">
				<img style="margin-right:10px;" src="../images/dot.gif" border=0/>选择操作
			</div>
			<p class="choose"><a href="admin_customer.jsp" style="color:black;"><img src="../images/angle.gif" border=0 />&nbsp;<font size=3>开户</font></a></p>
			<p class="choose"><a href="admin_cancel.jsp" style="color:black;"><img src="../images/angle.gif" border=0 />&nbsp;<font size=3>销户</font></a></p>
			<p class="choose"><a href="poundageAction.do?method=poundage" style="color:black;"><img src="../images/angle.gif" border=0 />&nbsp;<font size=3>手续费设置</font></a></p>
			<p class="choose"><a href="showBalance.do?method=showBalance" style="color:black;"><img src="../images/angle.gif" border=0 />&nbsp;<font size=3>本机余额</font></a></p>
			<p class="choose"><a href="adminHistoryAction.do?method=getHistory&type=1" style="color:black;"><img src="../images/angle.gif" border=0 />&nbsp;<font size=3>操作记录</font></a></p>
		</div>
		<div id="left2">
			<div class="tab">
				<img style="margin-right:10px;" src="../images/dot.gif" border=0/>联系我们
			</div>
			<div>
				<p class="p2">客服24小时热线：<font color="red">95588</font></p>
				<p class="p2">信用卡24小时专线：<font color="red">40088</font></p>
			</div>
		</div>
	</div>
	<div id="content">
		<div id="center">
			<p class="label1"><img src="../images/tip.gif">&nbsp;操作失败</p>
			<div style="text-align:left; margin-top:20px; margin-left:35px;">
				<p>很遗憾！</p>
				<p>操作失败！</p>
			</div>
		</div>
		<div id="rightbar">
			<div id="right1">
				<div class="tab">
					<img style="margin-right:10px;" src="../images/dot.gif" border=0/>欢迎光临
				</div>
				<div>
					<p style="font-family:幼圆;">您好，${adminName}
						<a href="adminExitAction.do?method=exit" style="color:blue;">[退出]</a>
					</p>
				</div>
			</div>
			<div>
				<img src="../images/logo.gif" border=0 />
			</div>
			<div>
				<img src="../images/ad4.gif" border=0 />
			</div>
			<div id="right2">
				<div class="tab">
					<img style="margin-right:10px;" src="../images/dot.gif" border=0/>友情链接
				</div>
				<div>
					<p><a href="http://www.icbc.com.cn/icbc/"  class="p3">中国工商银行</a></p>
					<p><a href="http://www.boc.cn/"  class="p3">中国银行</a></p>
					<p><a href="http://www.95599.cn/cn/"  class="p3">中国农业银行</a></p>
					<p><a href="http://www.ccb.com/cn/home/index.html"  class="p3">中国建设银行</a></p>
				</div>
			</div>
		</div>
	</div>
	<div id="footer">
		<p style="margin-top:5px; margin-bottom:5px;">© 版权所有 中国工商银行版权所有</p>
		<p style="margin-top:0 px; padding-top:0px;">网站声明&nbsp;&nbsp;|&nbsp;&nbsp;
			服务网点&nbsp;&nbsp;|&nbsp;&nbsp;
			网站地图&nbsp;&nbsp;|&nbsp;&nbsp;
			联系我们</p>
	</div>
		</div>
	</body>
</html>